//
//  UIView+MeExtension.h
//  MeLive
//
//  Created by liulei on 2017/5/2.
//  Copyright © 2017年 liulei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (MeExtension)

/** X */
@property (nonatomic, assign) CGFloat x;

/** Y */
@property (nonatomic, assign) CGFloat y;

/** Width */
@property (nonatomic, assign) CGFloat width;

/** Height */
@property (nonatomic, assign) CGFloat height;

/** size */
@property (nonatomic, assign) CGSize size;

/** centerX */
@property (nonatomic, assign) CGFloat centerX;

/** centerY */
@property (nonatomic, assign) CGFloat centerY;

/** tag */
@property (nonatomic, copy) NSString *tagStr;

- (BOOL)isShowingOnKeyWindow;

-(void) drawBorder:(float) borderWidth borderColor:(UIColor*) color cornerRadius:(float) radius;
-(void) drawCornerRadius:(float) radius;
-(void) drawCircle;
-(void) drawDashBorder:(UIColor *)lineColor;
- (UIViewController *)viewController;
-(void)removeAllSubViews;

@end
